import request from '@/utils/request';
/* 新增看诊规则 */
export const addVisitRule = (data) => request({
    url: '/business/visit/rule/add',
    method: 'POST',
    data
});
/* 删除看诊规则 */
export const delVisitRule = (data) => request({
  url: '/business/visit/rule/del',
  method: 'POST',
  data
});
/* 看诊规则详情 */
export const visitRuleDetail = (params) => request({
  url: '/business/visit/rule/get',
  method: 'GET',
  params
});
/* 看诊规则列表 */
export const visitRuleList = (data) => request({
  url: '/business/visit/rule/list',
  method: 'POST',
  data
});

/* 删除看诊规则 */
export const updateRuleList = (data) => request({
  url: '/business/visit/rule/update',
  method: 'POST',
  data
});
